package com.collect.zambia.zhiAdater.zhiHistoryOrders;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.collect.zambia.R;
import com.collect.zambia.zhiBean.zhiReceive.ZHIRCaseDetailHistoryOrderEntity;

public class ZHIHistoryOrderAdjuster extends BaseQuickAdapter<ZHIRCaseDetailHistoryOrderEntity, BaseViewHolder> {

    public ZHIHistoryOrderAdjuster() {
        super(R.layout.item_history_order_list, null);
    }

    @Override
    protected void convert(BaseViewHolder helper, ZHIRCaseDetailHistoryOrderEntity item) {
        helper.setText(R.id.tv_apply_time, item.getApplyTime());
        helper.setText(R.id.tv_amount, item.getAmount());
        helper.setText(R.id.tv_real_repay_time, item.getRealRepayTime());
        helper.setText(R.id.tv_overdue_days, item.getOverdueDay() + "");
    }

}
